<template>
  <div class="channelReport">
    <el-tabs v-model="activeName">
      <el-tab-pane label="全部数据" name="first">
        <channelReportTotal :queryMsg="queryMsg"></channelReportTotal>
      </el-tab-pane>
      <el-tab-pane label="每日数据" name="second">
        <channelReportDay :queryMsg="queryMsg"></channelReportDay>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
	import channelReportTotal from './channelReportTotal.vue';
	import channelReportDay from './channelReportDay.vue';
export default {
  props:['queryMsg'],
  components:{
    channelReportTotal,
    channelReportDay
  },
  data(){
    return{
      activeName: 'first',
      hackReset: true
    }
  }
}
</script>
<style lang="less">
.channelReport{
  .el-tabs{
			position:relative;
			margin-top: 20px;

			.el-tabs__header{
				position:relative !important;

				width:auto !important;
			}
			.el-tabs__content{
				position:relative !important;
				top:0 !important;
			}
		}
}

</style>
